package com.cos.dao;

import com.cos.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: COS
 * @time: 2021/11/22 11:32
 * @description:
 */
public interface SysRoleMapper {

    List<SysRole> getUserRole(@Param("uid") int uid);
    List<SysRole> getUserRoleByName(@Param("uname") String uname);
}
